package scsc.web.system.forms;

import java.util.ArrayList;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;

import scsc.web.system.AppActionForm;

public class ProcessForm extends AppActionForm {
	private long taskInstanceId;
	private long processDefinitionId;
	private String transitionButton;
	private ArrayList availableTransitions;
	private ArrayList needDoList;
	private ArrayList noNeedList;
	private long tokenId;
	private String title;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public ProcessForm() {
		super();
	}

	/**
	 * @see org.apache.struts.action.ActionForm#reset(ActionMapping,
	 *      HttpServletRequest)
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		super.reset(mapping, request);
	}

	/**
	 * @see org.apache.struts.action.ActionForm#validate(ActionMapping,
	 *      HttpServletRequest)
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {

		ActionErrors errors = new ActionErrors();
		return errors;
	}

	public ArrayList getAvailableTransitions() {
		return availableTransitions;
	}

	public void setAvailableTransitions(ArrayList availableTransitions) {
		this.availableTransitions = availableTransitions;
	}

	public long getProcessDefinitionId() {
		return processDefinitionId;
	}

	public void setProcessDefinitionId(long processDefinitionId) {
		this.processDefinitionId = processDefinitionId;
	}

	public long getTaskInstanceId() {
		return taskInstanceId;
	}

	public void setTaskInstanceId(long taskInstanceId) {
		this.taskInstanceId = taskInstanceId;
	}

	public String getTransitionButton() {
		return transitionButton;
	}

	public void setTransitionButton(String transitionButton) {
		this.transitionButton = transitionButton;
	}

	public ArrayList getNeedDoList() {
		return needDoList;
	}

	public void setNeedDoList(ArrayList needDoList) {
		this.needDoList = needDoList;
	}

	public ArrayList getNoNeedList() {
		return noNeedList;
	}

	public void setNoNeedList(ArrayList noNeedList) {
		this.noNeedList = noNeedList;
	}

	public long getTokenId() {
		return tokenId;
	}

	public void setTokenId(long tokenId) {
		this.tokenId = tokenId;
	}
}
